package com.ml.mall.bean.req.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/14
 *   @version        :1.0
**/
@ApiModel(value = "目录修改model")
@Data
public class CategoryEditDto {
    @ApiModelProperty(value = "目录主键id")
    @NotNull(message = "id cannot be null")
    private Long id;

    @ApiModelProperty(value = "目录名称")
    private String categoryName;

    @ApiModelProperty(value = "排序")
    private Integer indexNo;

    @ApiModelProperty(value = "业务主键id")
    private Integer industryId;

    @ApiModelProperty(value = "目录状态")
    private Integer state;

    @ApiModelProperty(value = "目录图片")
    private String picUrl;
}
